package cc.linker.steplink.crm.merchant.service.acs;

import java.util.*;

public interface MerchantInfoService {

    /**
     * 获取商家信息
     *
     * @param param
     * @return
     */
    Map<String, Object> getMerchantInfo(Map<String, Object> param);

    /**
     * 上传资质
     *
     * @param params
     * @return
     */
    Map<String, Object> saveMerchantInfo(Map<String, Object> params) throws Exception;

    /**
     * 获取客户id 根据adminId
     *
     * @param adminId
     * @return
     */
    String getCustomerIdByAdminId(String adminId);

    /**
     * 提交审核
     *
     * @return
     */
    Boolean submitAudit(Map<String, Object> params) throws Exception;

    List<Map<String, Object>> getSalerPromoterList(Map<String, Object> param);

    Long getTotalBackFee(String customerId, String orgId);

    Long getSonTotalBackFee(String pcustomerId, String customerId, String orgId);

    Long getUserTotalCash(String customerId, String orgId);

    Long getUserTotalFailCash(String customerId, String orgId);

    Map<String, Object> getWallet(String adminId, String orgId, Boolean ifSaler);

    String getUserTypeByAdminId(String adminId);

    List<Map<String, Object>> getVerifyList(String orgId, String userType);

    Map<String, Object> getVerifyInfo(String id, String customerId);

    Boolean doVerifyInfo(Map<String, Object> params) throws Exception;

    Boolean getAutoCheckStatus();

    Boolean changeAutoCheckStatus(Map<String, Object> params);

    String getBusCert(Map<String, Object> params);

    Map<String, Object> getDetail(Map<String, Object> param);

    Map<String, Object> getInfoByCid(String customerId);

    Map<String, Object> getInfoByOid(String orgId);

    Boolean getPayStatus(String orgId);

    List<Map<String, Object>> getMerchantListByOrgId(String orgId);

    void saveInfo(Map<String, Object> params);

    Map<String, Object> getTradeBaseInfo(Map<String, Object> param);

    //获取订单信息
    Map<String, Object> getOrderInfoByOrderSn(String orderSn);

    Map<String, Object> getSalerOrder(String orderSn);

    Map<String, Object> getGoodsOrder(String orderSn);

    Map<String, Object> getEnrollOrder(String orderSn);

    Map<String, Object> getVipOrder(String orderSn);

    String storeName(String orgId);

    String customerStoreName(String orgId, String customerId);

    String getEveryMoney(String orgId, String orderSn, Integer type, String userId, boolean ifSales);

    String getPlatForm(String orgId);

    void changeStatus(Map<String, Object> map);

    /**
     * 通过orgId获取orgName
     *
     * @param orgId
     * @return
     */
    String getOrgName(String orgId);

    String getDongCustomerPhoneByCustomerId(String dongCustomerId);

    void promoterRetreat(Map<String, Object> param);

    List<Map<String, Object>> getsCustomerInfo(Map<String, Object> sp);

    Object getFeeBack(Map<String, Object> ssp);

    Object getFeeDeal(Map<String, Object> ssp);

    void resaveAgent(Map<String, Object> param);

    void saveCustomPoster(Map<String, Object> params);

    Integer getCustomPosterCount(Map<String, Object> params);

    void delCustomPoster(Map<String, Object> params);
}
